package com.acknight.service;

import com.acknight.dto.LoginFormDTO;
import com.acknight.dto.Result;
import com.acknight.vo.UserInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.acknight.entity.User;

import javax.servlet.http.HttpSession;

public interface IUserService extends IService<User> {

    /**
     * 实现登录功能
     * @param loginForm
     * @return
     */
    Result login(LoginFormDTO loginForm);

    Result logout();

    Result me(Integer userId);

    Result register(LoginFormDTO loginForm);

    Result infoSave(UserInfoVo userInfoVo);
}
